package com.wx.mapper;

import com.wx.common.MyMapper;
import com.wx.entity.SysNurse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Optional;

/**
 * <p>Title:      SysPatientController. </p>
 * <p>Description  </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company:    医百科技有限公司 </p>
 *
 * @author         yangwensheng@100doc.com.cn
 * @since      2021-03-03 11:36:07
 */
@Mapper
@Component
public interface SysNurseMapper extends MyMapper<SysNurse> {

    Optional<SysNurse> selectByKeyOptional(Object key);

    SysNurse selectByOpenId(String openId);

    SysNurse selectById(String id);

    List<SysNurse> listPage(@Param("param") SysNurse sysNurse);

    List<SysNurse> selectByIds(@Param("nurseIds") List<String> nurseIds);
}
